import request from '@/utils/request'

// 查询系统logo列表
export function listLogo(query) {
  return request({
    url: '/system/logo/list',
    method: 'get',
    params: query
  })
}

// 查询系统logo详细
export function getLogo(id) {
  return request({
    url: '/system/logo/' + id,
    method: 'get'
  })
}

// 新增系统logo
export function addLogo(data) {
  return request({
    url: '/system/logo',
    method: 'post',
    data: data
  })
}

// 修改系统logo
export function updateLogo(data) {
  return request({
    url: '/system/logo',
    method: 'put',
    data: data
  })
}

// 删除系统logo
export function delLogo(id) {
  return request({
    url: '/system/logo/' + id,
    method: 'delete'
  })
}
